<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app" class="wrap" style="background-color: aqua;">
        <div>1</div>
        <span class="name">{{foo}}</span>
    </div>
    <script src="../dist/vue.js"></script>
    <script>
        let app = new Vue({
            el:'#app',
            data(){
                return {
                    foo:'foo-value',
                    info:{
                        age:10, 
                        name:'zhangsan',
                        test:{
                            c:'sss'
                        }
                    },
                    arr:[1,2,3],
                    arrObj:[
                        {
                            name:1,
                            age:20
                        },{
                            name:3,
                            age:23
                        }
                    ]
                }
            }
        }).$mount('#app')
        // app.foo = 'bar-value'
        // console.log(app.foo)
    </script>
</body>
</html>